package com.store.orm.mongo.curd;

import org.bson.conversions.Bson;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author 宫静雨
 * @version 1.0
 */
public interface Select {

    <T> List<T> find(T t);

    <T> List<T> find(Class<T> cls, String json);

    <T> List<T> find(Class<T> cls, LinkedHashMap<String, Object> map);

    <T> List<T> find(Class<T> cls, Bson filter);
}